#!/bin/bash

echo
echo "-> Build Client"
cd client
npm ci
npm run build

cd ..
echo
echo "-> Build Server"
cd server
npm ci
npm run build

cd ..
rm -rf dist
echo "-> Combine"
mv ./server/build ./dist
mv ./client/build ./dist/public

